package com.tts.service;
 	
 	import java.util.List;

import com.tts.dao.QueryDao;
import com.tts.domain.Train;

 	
 	public class QueryService {
 	
 		private QueryDao queryDao=new QueryDao();
 		
 		public List<Train> queryTrain(Train train) {
 			return queryDao.queryTrain(train);
 		}
 	}